package com.puman.beautyfarmcounselor.ui.schedule.modle;

import com.puman.beautyfarmcounselor.ui.home.model.AdertisingData;

import org.androidannotations.annotations.IgnoredWhenDetached;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by puman on 15/8/11.
 */
public class Schedule {


    /**
     * msg : 成功
     * flag : true
     * data : [{"date":"2015-08-11","schedule_name":""},{"date":"2015-08-12","schedule_name":"早班"},{"date":"2015-08-13","schedule_name":"早班"},{"date":"2015-08-14","schedule_name":"早班"},{"date":"2015-08-15","schedule_name":"早班"},{"date":"2015-08-16","schedule_name":"早班"},{"date":"2015-08-17","schedule_name":"晚班"},{"date":"2015-08-18","schedule_name":""},{"date":"2015-08-19","schedule_name":"晚班"},{"date":"2015-08-20","schedule_name":"晚班"},{"date":"2015-08-21","schedule_name":"晚班"},{"date":"2015-08-22","schedule_name":"晚班"},{"date":"2015-08-23","schedule_name":"晚班"},{"date":"2015-08-24","schedule_name":"早班"}]
     */
    private String msg;
    private boolean flag;
    private List<ScheduleModel> data = new ArrayList<>();


    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

//    public void setData(List<DataEntity> data) {
//        this.data = data;
//    }

    public String getMsg() {
        return msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public List<ScheduleModel> getData() {
        return data;
    }

    public void setData(List<ScheduleModel> data) {
        this.data = data;
    }
}
